To capture an object, select Object from Capture Method in the Settings dialog or pick Object from the Quick Capture option on the tray menu. An object is literally what it says it is an object. If we take a window :-
If we set the capture method as object and then click on the toolbar and then after that press PrintScreen, we would get :-
Or if we just wanted to get the directory contents and not the window, then if we selected the capture method as object again and moved the mouse over the contents list and click on it and then press PrintScreen, we would get :-